package com.paddyi.mapper;

import com.paddyi.model.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 *  (Account)
 * @author paddy
 * @since  2019-08-09 12:00:53
 */
@Component
public interface AccountMapper extends BaseMapper<Account> {

     int pay(@Param("account") Account account);

     int confirm(@Param("account") Account account);

    int cancel(@Param("account") Account account);
}